package com.renzhebiao.lkang.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.renzhebiao.lkang.base.BasePO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 作品表
 * </p>
 *
 * @author renzhebiao123
 * @since 2018-10-23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
@TableName("opus")
public class OpusPO extends BasePO {

    private static final long serialVersionUID = 1L;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String            title;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String            content;
    /**
     * 状态(1 待审核，2 审核通过 3 审核失败 )
     */
    @ApiModelProperty(value = "状态(1 待审核，2 审核通过 3 审核失败 )")
    private Integer           status;
    /**
     * 置顶时间
     */
    @ApiModelProperty(value = "置顶时间")
    private Long              stickTime;
    /**
     * 阅读量
     */
    @ApiModelProperty(value = "阅读量")
    private Integer           readers;
}
